﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp5
{
    class Staff
    {
        public int Num { get; set; }
        public string Name { get; set; }
        public string Sex { get; set; }
        public string Education = "本科";
        public string Branchinfo { get; set; }

        public Staff()
        {
            
        }

        public Staff(int num, string name, string sex, string education, string branchinfo)
        {
           this.Num = num;
           this.Name = name;
           this.Sex = sex;
           this.Education = education;
           this.Branchinfo = branchinfo;
        }
        public void print()
        {
            Console.WriteLine("编号{0}，姓名{1}，性别{2}，学历{3}，部门信息{4}",this.Num,this.Name,this.Sex,this.Education,this.Branchinfo);
        }
    }
}
